﻿<%@ Page Title="SmartProject - Management" Language="C#" MasterPageFile="~/AppSpace/Dashboard.Master"
    AutoEventWireup="true" CodeBehind="Management.aspx.cs" Inherits="SmartProject.AppSpace.Management" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <cc1:ModalPopupExtender ID="PopProduct" runat="server" BackgroundCssClass="modelBackground"
        TargetControlID="BtnAddProduct" CancelControlID="BtnCancelProduct" PopupControlID="PnlProduct">
    </cc1:ModalPopupExtender>
    <cc1:ModalPopupExtender ID="PopCategory" runat="server" BackgroundCssClass="modelBackground"
        TargetControlID="BtnAddWorkCategory" CancelControlID="BtnCancelWorkCategory"
        PopupControlID="PnlCategory">
    </cc1:ModalPopupExtender>
    <div id="PnlProduct" runat="server" style="display: none; background-color: #EEE">
        <table cellpadding="0" cellspacing="1" width="300px">
            <tr>
                <td style="color: #EFEFEF; font-weight: bold; font-size: 12px; background-color: #69c;
                    text-align: left;">
                    <asp:Label ID="LblProductDesc" runat="server" Text="New Product"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="LblProductError" runat="server" SkinID="ErrorLabel"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Description:
                    <asp:TextBox ID="TxtProductDescription" runat="server" SkinID="StandardTextBox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:ImageButton ID="BtnSaveProduct" runat="server" ImageUrl="~/Image/WorkSave.png"
                        ToolTip="Save" OnClick="BtnSaveProduct_Click" />&nbsp;&nbsp;
                    <asp:ImageButton ID="BtnCancelProduct" runat="server" ImageUrl="~/Image/WorkCancel2.png"
                        ToolTip="Cancel" />
                </td>
            </tr>
        </table>
    </div>
    <div id="PnlCategory" runat="server" style="display: none; background-color: #EEE">
        <table cellpadding="0" cellspacing="1" width="300px">
            <tr>
                <td style="color: #EFEFEF; font-weight: bold; font-size: 12px; background-color: #69c;
                    text-align: left;">
                    <asp:Label ID="LblCategory" runat="server" Text="New Work Category"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="LblCategoryError" runat="server" SkinID="ErrorLabel"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    Description:
                    <asp:TextBox ID="TxtCategory" runat="server" SkinID="StandardTextBox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:ImageButton ID="BtnSaveCategory" runat="server" ImageUrl="~/Image/WorkSave.png"
                        ToolTip="Save" OnClick="BtnSaveCategory_Click" />&nbsp;&nbsp;
                    <asp:ImageButton ID="BtnCancelWorkCategory" runat="server" ImageUrl="~/Image/WorkCancel2.png"
                        ToolTip="Cancel" />
                </td>
            </tr>
        </table>
    </div>
    <table width="100%">
        <tr>
            <td>
                <table width="100%">
                    <tr>
                        <td style="color: #EFEFEF; font-weight: bold; font-size: 12px; background-color: #69c;
                            text-align: left;">
                            Products:
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:DropDownList ID="DrpProducts" runat="server">
                            </asp:DropDownList>
                            &nbsp;<asp:LinkButton ID="BtnAddProduct" runat="server">Add</asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="BtnRemoveProduct" runat="server" OnClick="BtnRemoveProduct_Click">Remove</asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="BtnDiscontinueProduct" runat="server" OnClick="BtnDiscontinueProduct_Click">Discontinue</asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="BtnEditProduct" runat="server" OnClick="BtnEditProduct_Click">Edit</asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table width="100%">
                    <tr>
                        <td style="color: #EFEFEF; font-weight: bold; font-size: 12px; background-color: #69c;
                            text-align: left;">
                            Categories:
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:DropDownList ID="DrpWorkCategories" runat="server">
                            </asp:DropDownList>
                            &nbsp;<asp:LinkButton ID="BtnAddWorkCategory" runat="server">Add</asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="BtnRemoveWorkCategory" runat="server" OnClick="BtnRemoveWorkCategory_Click">Remove</asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="BtnEditWorkCategory" runat="server" OnClick="BtnEditWorkCategory_Click">Edit</asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <table width="100%">
                    <tr>
                        <td style="color: #EFEFEF; font-weight: bold; font-size: 12px; background-color: #69c;
                            text-align: left;">
                            System Settings:
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table style="color: Blue">
                                <tr align="left">
                                    <td>
                                        Daily Work Hours:
                                    </td>
                                    <td>
                                        <asp:TextBox ID="TxtDailyWorkHours" runat="server" />
                                    </td>
                                </tr>
                                <tr align="left">
                                    <td>
                                        Logging Level:
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="DrpLoggingLevel" runat="server">
                                        </asp:DropDownList>
                                        (Change requires restart)
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2" align="right">
                                        <asp:ImageButton ID="BtnSave" runat="server" OnClick="BtnSave_Click" ImageUrl="~/Image/WorkSave.png" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
